package code.ws_common_net.request
{
	import code.ws_common_interface.support.call.ILoginCall;
	import code.ws_common_net.code.NetConnectManager;
	import code.ws_common_net.utils.ByteBuffer;
	import code.ws_common_net.utils.ClientConst;
	
	import flash.net.NetConnection;
	
	public class LoginCall implements ILoginCall
	{
		public function enterGame():void
		{
			var data:ByteBuffer=new ByteBuffer();
			data.writeShort(ClientConst.LOGIN_S);
			data.writeByte(1);
			NetConnectManager.getInstance.send(data);
		}
	}
}